package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
 * @Auther: xjw
 * @Date: 2019/5/30 10:33
 * @Description:
 */
@TableName(value = "s_sendregularly")
public class SendRegularly {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    @TableField(value = "CompanyId")
    @JSONField(name = "CompanyId")
    private String companyId;

    @TableField(value = "CronType")
    @JSONField(name = "CronType")
    private String cronType;

    @TableField(value = "Enabled")
    @JSONField(name = "Enabled")
    private Integer enabled;

    @TableField(value = "Description")
    @JSONField(name = "Description")
    private String description;

    @TableField(value = "LastSendTime")
    @JSONField(name = "LastSendTime")
    private LocalDateTime lastSendTime;

    @TableField(value = "LastSendStatus")
    @JSONField(name = "LastSendStatus")
    private Integer lastSendStatus;


    @TableField(value = "UpdateUser")
    @JSONField(name = "UpdateUser")
    private String updateUser;

    @TableField(value = "UpdateTime")
    @JSONField(name = "UpdateTime")
    private LocalDateTime updateTime;

    @TableField(value = "MallNumber")
    @JSONField(name = "MallNumber")
    private Integer mallNumber;

    @TableField(value = "ConfigureMessage")
    @JSONField(name = "ConfigureMessage")
    private String ConfigureMessage;

    @TableField(exist = false)
    @JSONField(name = "CompanyName")
    private String companyName;


    public SendRegularly() {
    }

    public SendRegularly(Long id, LocalDateTime lastSendTime, Integer lastSendStatus) {
        Id = id;
        this.lastSendTime = lastSendTime;
        this.lastSendStatus = lastSendStatus;
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCronType() {
        return cronType;
    }

    public void setCronType(String cronType) {
        this.cronType = cronType;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public LocalDateTime getLastSendTime() {
        return lastSendTime;
    }

    public void setLastSendTime(LocalDateTime lastSendTime) {
        this.lastSendTime = lastSendTime;
    }

    public Integer getLastSendStatus() {
        return lastSendStatus;
    }

    public void setLastSendStatus(Integer lastSendStatus) {
        this.lastSendStatus = lastSendStatus;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getMallNumber() {
        return mallNumber;
    }

    public void setMallNumber(Integer mallNumber) {
        this.mallNumber = mallNumber;
    }

    public String getConfigureMessage() {
        return ConfigureMessage;
    }

    public void setConfigureMessage(String configureMessage) {
        ConfigureMessage = configureMessage;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
